import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Scanner;

public class Test16 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList list= new ArrayList<>();
        int x = sc.nextInt();
        for (int i = 0; i < x; i++) {
            list.add(sc.nextInt());
        }
        int y = sc.nextInt();
        for (int i = 0; i < y; i++) {
            list.add(sc.nextInt());
        }
        HashSet set= new HashSet<>();
        for (int i = 0; i < list.size(); i++) {
            set.add(list.get(i));
        }
        System.out.println(set.size()==n?"It Takes Two.":"Maybe Next Time.");




    }
}
